Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Simplify connecting sync accounts when two exist #3747

Closed
wants to merge 12 commits into from

Conversation

graeme
Copy link
Contributor

@graeme graeme commented Dec 19, 2024

Task/Issue URL: https://app.asana.com/0/72649045549333/1208944782348823/f

Description:

Around 600 daily Sync users try to connect a Synced device with another Sync Backup, which is not possible, and we show them an error indicating they should stop syncing first and try again.

Simplify the steps by:

Automatically Switch Sync for users with no other devices connected. (This is the most common scenario) -
Ask, and allow them to continue switching sync for users with more devices connected.
Steps to test this PR:
https://app.asana.com/0/0/1208993297756834/f

also confirm that pixels are sent:
https://app.asana.com/0/1142021229838617/1208928557675008/f

Definition of Done (Internal Only):

Copy Testing:

  • Use of correct apostrophes in new copy, ie rather than '

Orientation Testing:

  • Portrait
  • Landscape

Device Testing:

  • iPhone SE (1st Gen)
  • iPhone 8
  • iPhone X
  • iPhone 14 Pro
  • iPad

OS Testing:

  • iOS 15
  • iOS 16
  • iOS 17

Theme Testing:

  • Light theme
  • Dark theme

Internal references:

Software Engineering Expectations
Technical Design Template

@graeme graeme changed the title Simplify connecting sync accounts when 2 Simplify connecting sync accounts when two exist Dec 19, 2024
@graeme graeme requested a review from amddg44 December 19, 2024 14:39
Copy link

github-actions bot commented Dec 19, 2024

Messages
📖

You seem to be updating localized strings. Make sure that you request translations and include translated strings before you ship your change. See Localization Guidelines for more information.

Generated by 🚫 dangerJS against 97b29af

Copy link
Contributor

@amddg44 amddg44 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! All performed as expected - just heads up on a linting warning 🙂

Copy link
Contributor

@amddg44 amddg44 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice tests 👏

@@ -406,6 +402,14 @@ extension SyncSettingsViewController: ScanOrPasteCodeViewModelDelegate {
return false
}

func handleTwoSyncAccountsFoundDuringRecovery(_ recoveryKey: SyncCode.RecoveryKey) async {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a minor nit, I think this can be made private?

Copy link

This PR has been inactive for more than 7 days and will be automatically closed 7 days from now.

@github-actions github-actions bot added the stale label Dec 28, 2024
Copy link

github-actions bot commented Jan 4, 2025

This PR has been closed after 14 days of inactivity. Feel free to reopen it if you plan to continue working on it or have further discussions.

@github-actions github-actions bot closed this Jan 4, 2025
graeme added a commit that referenced this pull request Jan 27, 2025
Task/Issue URL:
https://app.asana.com/0/72649045549333/1208944782348823/f

Description:

Reopened #3747

Around 600 daily Sync users try to connect a Synced device with another
Sync Backup, which is not possible, and we show them an error indicating
they should stop syncing first and try again.

Simplify the steps by:

Automatically Switch Sync for users with no other devices connected.
(This is the most common scenario) -
Ask, and allow them to continue switching sync for users with more
devices connected.
Steps to test this PR:
https://app.asana.com/0/0/1208993297756834/f

also confirm that pixels are sent:
https://app.asana.com/0/1142021229838617/1208928557675008/f

**Definition of Done (Internal Only)**:

* [x] Does this PR satisfy our [Definition of
Done](https://app.asana.com/0/1202500774821704/1207634633537039/f)?

**Copy Testing**:

* [ ] Use of correct apostrophes in new copy, ie `’` rather than `'`

**Orientation Testing**:

* [ ] Portrait
* [ ] Landscape

**Device Testing**:

* [ ] iPhone SE (1st Gen)
* [ ] iPhone 8
* [ ] iPhone X
* [ ] iPhone 14 Pro
* [ ] iPad

**OS Testing**:

* [ ] iOS 15
* [ ] iOS 16
* [ ] iOS 17

**Theme Testing**:

* [ ] Light theme
* [ ] Dark theme

---
###### Internal references:
[Software Engineering
Expectations](https://app.asana.com/0/59792373528535/199064865822552)
[Technical Design
Template](https://app.asana.com/0/59792373528535/184709971311943)

---------

Co-authored-by: Anya Mallon <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants